
##################################################################################
######## Replication: Border Barriers and Local Armed Uprisings ##################
######## Security Studies, 2025 ##################################################
######## Md Muhibbur Rahman ######################################################
######## Cornell University ######################################################
######## March, 2025 #############################################################
##################################################################################



This file provides information about each file included for replication purposes, including file 
names, brief descriptions and instructions about how to use the files to produce the tables and figures. 



## Contents

- `ss_replication_data.dta` — Cleaned dataset used for producing all tables and figures (STATA)
- `dofile_tables.do` — STATA script for producing tables in the main text and appendices
- `dofile_figures.do` — STATA script for producing figures in the main text and appendices
- `rcodefile_figures.R` — R script for producing R-generated figures in the main text and appendices
- `map.R` — R script for producing Figure 2 (map)
- `Supplemental Material.pdf` — Contains tables and figures presented in the appendices



## Instructions

**Note:** The scripts included will reproduce the raw statistical models and figures. The final presentation-quality tables and figures in the paper were produced through additional manual editing (e.g., formatting tables in LaTeX or Excel, adjusting figure aesthetics for publication).

### To reproduce tables:
1. Place `ss_replication_data.dta` in your working directory.
2. Run `dofile_tables.do` in STATA.
3. Note: Table 4 was compiled manually using data from different sources.

### To reproduce Figures 1, 3–4, 6, A1–A4:
1. Place the dataset in your working directory.
2. Run `dofile_figures.do` in STATA.

### To reproduce Figure 2:
1. Place the dataset in your working directory.
2. Run `map.R` in RStudio.

### To reproduce Figures 5, A5–A9:
1. Place the dataset in your working directory.
2. Run `rcodefile_figures.R` in RStudio.



## Contact

Md Muhibbur Rahman  
Postdoctoral Associate, Cornell University  
Email: mr2425@cornell.edu

